package com.borened.common.boot.config.properties;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * swagger配置属性
 *
 * @author: cch
 * @since: 2022/3/1
 */
@Component
@ConfigurationProperties(prefix = "swagger")
@Data
public class SwaggerProperties {
    /**
     * 颁发token地址
     */
    private String issueTokenUrl = "";
    /**
     * 是否开启swagger
     */
    private Boolean enabled;

    /**
     * swagger会解析的包路径
     **/
    private String basePackage = "";
    /**
     * 标题
     **/
    private String title = "";
    /**
     * 描述
     **/
    private String desc = "";


    /**
     * 版本
     **/
    private String version = "";
}
